package cn.yzfy.common.model.entity;

import cn.yzfy.common.base.entity.AbstractBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serial;

/**
 * @author 一朝风月
 * @date 2025/9/11 17:47
 * @Code 面向注解面向卿，终无解释再无你
 * @description
 */

@EqualsAndHashCode(callSuper = false) @Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user_role")
public class UserRoleEntity extends AbstractBaseEntity {

    @Serial
    private static final long serialVersionUID = 8926972402470565816L;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 用户id
     */
    private Long userId;
}